:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  /*min-height: 100vh;*/
  overflow-x: hidden !important;
}
/* 主内容滚动条不显示 */
body::-webkit-scrollbar {
  display: none !important;
}
.ant-layout::-webkit-scrollbar,.ant-layout-content::-webkit-scrollbar{
  overflow-x: hidden !important;
  width: 0px !important;
}
.ant-layout-sider{
  border-right: 1px solid rgb(239, 239, 239)!important;
}
::-webkit-scrollbar-corner {
  background-color: rgb(242, 242, 255);
}

.nvwa-sidebar .nvwa-conversation{
  /*overflow-y: hidden !important;*/
}
/*::-webkit-scrollbar {*/
/*  width: 0 !important;*/
/*}*/
/*::-webkit-scrollbar {*/
/*  width: 0 !important;height: 0;*/
/*}*/
/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
}
/* 滑块样式 */
::-webkit-scrollbar-thumb{
  background-color: #9f9f9f;
  border-radius: 10px;
}
/* 滚动条轨道样式 */
::-webkit-scrollbar-track{
  background-color: #fcfcfc;
  border-radius: 10px;
}


h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.global-card {
  margin: 20px 20px;
  height: 78vh;
  position: relative;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: none;
}

.card {
  padding: 2em;
}

#app {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  /*padding: 2rem;*/
  /*text-align: center;*/
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
